#pragma once

#include "Globals.h"
#include <algorithm>

/// Bounding box class. Uses for collision detection
class BBox
{
public:
    int x,y,w,h;

	BBox();

    BBox getIntersection(BBox* other);
    
	bool isEmpty();
	
	void draw();

};
